/**      
 * @file		cleanNest.cpp
 * @description		Demonstrating how if/else statements SHOULD be
 *			written. Compare this file to the nestedIf.cpp file.
 * @course		CSCI 123 Section 00000
 * @assignment		Sample 8
 * @date		mm/dd/yyyy
 * @author		Brad Rippe (00000000) brippe@fullcoll.edu
 * @version		1.0
 */
#include <iostream>
using namespace std;

/**
 * @return zero if the application executes successfully
 */
int main() {
	int studentGrade = 0;
	cout << "Please type the student's grade\n";
	cin >> studentGrade;

	if(studentGrade >= 90) {
		cout << "A\n";
	} else if(studentGrade >= 80) {
		cout << "B\n";
	} else if(studentGrade >= 70) {
		cout << "C\n";			
	} else if(studentGrade >= 60) {
		cout << "D\n";			
	} else {
		cout << "F\n";
	}
	return 0;
}
